AT&T Interview Question

What is the difference between namenode and datanode in Hadoop?