"On time" means at exactly the right time or the scheduled time.
- This flight's usually on time but yesterday it was 10 minutes late.
"In time" means early or soon enough.
- I arrived home just in time to close the windows before it started to rain.
Related articles: Times