DBCC (Database Consistency Checker Commands) is used to check logical and physical consistency of database structure. DBCC statements can fix and detect problems. They are grouped in to four categories :-
Maintenance commands like DBCC DBREINDEX , DBCC DBREPAR etc, they are mainly used for maintenance tasks in SQL SERVER.
Miscellaneous commands like DBCC ROWLOCK , DBCC TRACEO etc , they are mainly used for enabling row-level locking or removing DLL from memory.
Status Commands like DBCC OPENTRAN , DBCC SHOWCONTIG etc ,they are mainly used for checking status of the database.
Validation Commands like DBCC CHECKALLOC,DBCCCHECKCATALOG etc , they perform validation operations on database.