Arrow slits, also known as loopholes, were narrow openings in castle walls that allowed archers to shoot arrows at attackers while remaining protected behind the walls. These openings were designed to be very narrow, which made it difficult for attackers to shoot back, and also provided protection for the archers.