Infogain Interview Question

What is an activity? describe the lifecycle