Alphawave Semi Interview Question

what is the difference between a latch and a register?