What is formal speech?

Formal speech is not slang. Example:

Slang: the weather is cool.

Formal: the weather today is mighty fine, is it not?