UG stands for Undergraduate, referring to bachelor's degree programs, while PG stands for Postgraduate, indicating advanced studies at the master's or doctoral level.