Learning is the modification of behavior based on experiences and tends to follow learning curves. There are several types of learning, including habituation, imprinting, classical conditioning, trial and error learning, latent learning, insight, reasoning, and cognition. Habituation is a decrease in response to repeated, irrelevant stimuli to allow animals to ignore meaningless stimuli. Imprinting occurs during a sensitive period and involves rapid learning of behaviors or recognition of others. Classical conditioning involves learning associations between stimuli through rewards and punishments. Trial and error and latent learning do not require reinforcement. Insight and reasoning involve forming conclusions through thought to solve problems.