While discomfort can be caused by other states, such as thirst, hunger, frustration, loneliness, boredom, constipation, infection, or other conditions and situations, it may be considered pain when a known painful condition exists or a known painful procedure has been performed.