Definition of formal

What does the word formal mean?