Look at these sentences:
I sat in front of him.
I sat before him.
The first sentence means that I sat physically in your sight (it indicates a place) while the second sentence means that I sat the first time then he sat after me (it indicates the time)
Before also used as the conjunction as follow:
Before I enter the room, I knock at the door.
Before is also used to show past time: (check this post about Ago and Before)
I have never been here before.
Or find in the related posts below!