Test cases are used to test the quality of a software product. They are usually created by developers and testers to ensure that the product is working as intended.