Pergunta de entrevista da empresa Capgemini

what is a function? what is difference between 1g,2g,3g and 4g?