A cost–
The benefits of a behavior are measured in terms of the enhancement in fitness an animal accrues by performing the behavior. The cost of a behavior typically has three components:
Energetic cost is the energy the animal expends performing the behavior.
Risk cost is the increased chance of being injured or killed.
Opportunity cost is the benefit the animal forgoes by not being able to perform other behaviors at the same time.