The courtyard of the Beit HaMikdash was enclosed by walls on all four sides. In this next Mishnah, and in the Mishnah afterwards as well, we'll talk about the gates that led into the courtyard. The Mishnah says there were seven gates in the courtyard: three in the north, three in the south, and one in the east. In the south, the first gate from the west was the firewood gate. The firewood used for the Mizbe'ach (altar) was brought in through this gate. The second gate from the firewood gate was the firstborn's gate. The male firstborn of a cow, a sheep, or a goat has to be brought to the Beit HaMikdash and given to the Kohen (priest), who brings it as a korban (offering). Since the Bechor (firstborn) is a Kodashim Kalim, it's a lesser korban with lesser holiness as opposed to Kodshei Kodashim (offerings of highest sanctity). It's brought into the southern half of the courtyard and slaughtered there. If it were Kodshei Kodashim, it could only be slaughtered in the north. Therefore, we bring it through the gate in the southern area of the courtyard. That was the next gate. The third gate from the firewood gate was the water gate. It was called that because Yechezkel had a nevuah (prophecy) that water would flow from this gate in the future Beit HaMikdash.
In the east was the Nikanor gate. Nikanor was the name of an individual who donated doors to the Beit HaMikdash. He had them crafted by high-level metalworkers in Mitzrayim, in Egypt and Alexandria. When the ship was transporting the doors, there was a big storm, and the sailors tried to save the ship. They threw all the heavy items off the ship, including Nikanor's first door. He had two of them made. The first one was thrown off, and when the second one was about to be thrown off, Nikanor grabbed onto it and said, “If you're going to throw off that door, you have to throw me off as well.” When he said those words and showed his dedication to the Beit HaMikdash, the storm calmed down, and the second door wasn't thrown over. But a miracle happened. When they eventually got to the port and the ship was docked, the door popped up from under the ship. Both of these doors were eventually installed in the eastern gate of the courtyard, and we named them after this individual. There were two chambers next to it: one to the right and one to the left. One of them was the chamber of the person responsible for dressing the Kohanim in their special garments. He would undress them when they were finished with the Avodah (Temple service) and make sure to store the garments in the proper place.
The one on the left was the chamber of the makers of the Chavitin. The Kohen Gadol (High Priest) has a mitzvah (commandment), the Minchat Chavitin, to bring 12 loaves every single day. Half of them are offered in the morning and half in the afternoon. We call it the Chavitin because the last step of preparation of these loaves was to fry them in a pan called the Machavat. The Kohanim who made these loaves did their work in the chamber to the left of Sha'ar Nikanor (Nikanor gate).

