The main function that supports data abstraction in C++ are classes. In essence, a C++ class is a C framework with additional features. This video discusses the practical way of using classes to get a better sense of different programming tasks, as many programmers often think that classes take up space and speed penalties, when in fact it does not.