¿Qué es un registro y cuántos tipos hay?