Meaning of “formality” - Learner’s Dictionary

formality

noun uk us /fɔːˈmæləti/
OFFICIAL THING [ C ]

something that the law or an official process says must be done:

There are certain legal formalities to be completed.
BEHAVIOUR [ U ]

formal and polite behaviour:

the formality of a royal funeral

(Definition of “formality” from the Cambridge Learner’s Dictionary © Cambridge University Press)