What are loops?and it's types.