This is the 30th most frequent Persian word.
اگر
"If."
In this sentence, 'اگر' is used to introduce a conditional clause, expressing a condition for the stated outcome.
اگر باران ببارد، به خانه میرویم.
If it rains, we will go home.
Here, 'اگر' connects the suggestion to the condition that the person has time, denoting a requirement for the action.
به کلاس بیا اگر وقت داری.
Come to the class if you have time.
In this sentence, 'اگرچه' is a derivative of 'اگر', expressing a contrast between the circumstances and the action.