Masquerade can be a dance, but it's more accurately described as a broader event or ceremony that may include dancing.
A masquerade is defined as a cultural or religious event involving the wearing of masks. While dancing frequently occurs at masquerades, the event itself isn't solely defined by dancing. Other elements such as processions, feasts, and performances often form part of the masquerade. So, while a masquerade ball is often associated with dance, the masquerade itself is the overall event.
Therefore, while dance is a common element, it's not the sole defining feature of a masquerade.