You add this to a sentence. You use it to check if someone agrees with you. You think they already know what you are saying.
、に?
We saw Yamada-kun in front of the station yesterday, right?
、。
This cake isn't as sweet as I thought, is it?
、。
That person is really kind, aren't they?
、に?
The documents for the other day's meeting are due by the end of today, right?