What is the difference between cognition and emotions?

What is the difference between cognition and emotions? Many theories and definitions exist. Define the cognition as described by Piaget. Define emotions as noted by attribution theory. Please compare and contrast the uniqueness of each. How do emotions and cognitive overlap?