ti Technologies interview question

Difference between activity and Fragment