Capgemini interview question

what is global and local variable?