As you learn basics of Hadoop, you need relevant programming languages to manage the data.
Pig is a high level programming language to create Map Reduce programs for Hadoop. Pig is a procedural type of language which is based on ETL(Extract, Transform and Load).
On the other hand, Hive is like SQL and provides datawarehouse view of the underlying data.
Course content :
Pig programming basics
HIVE programming basics