The words ‘dairy’ and ‘diary’, while having spellings that are confusingly similar, have no common meanings.

‘Dairy’ works as an adjective, meaning anything that is derived from milk, and a noun, meaning an establishment that produces dairy products. I am allergic to dairy products.

‘Diary’ is a noun, referring to a written record of one’s personal experiences. I write in my diary every night.