This is a tradition that dates back to the Victorian era, where young men would play female roles in pantomimes.
While the role is often played by a male actor, it's important to note that in recent years, there has been a shift towards more inclusive casting, with actresses and performers of all genders taking on the role.