Definition of right:
(adj) :
Straight, not bent; having reference to a straight line;
perpendicular, forming a 90-degree angle
"the kitchen counter formed a right angle with the back wall."
(interjection) :
yes. Correct. I agree; yes. I agree with whatever you say. I have no opinion
"we're on the side of right in this contest."
"righting all the wrongs of the war will be impossible."