Another way to say "an entrance is for entering a building " is "One can enter a building through the entrance"