dogs skin allergies

Hello, can you explain how allergies are tied to skin conditions on a dog? For example, is it true that dog allergies can cause itchy skin, scratching, and skin irritations? how does this occur? thanks