What Is A Layer 4 Attack?

What is a Layer 7 attack?

.

What is a Layer 7 device?

What is Layer 4 of the OSI model?