This grammar means 'if' or 'when'. You use it for things that are generally true. You also use it for advice or ideas.
、。
If the price hadn't been high, I would have bought that computer.
に、に。
If you come on time, you'll make it to the meeting.
、。
If I had money, I'd want to travel the world.
ボタン、。
If you press this button, the light will turn on.
、。
If he had been honest everyone would have trusted him, but in reality that wasn't the case.