Data structures are ways of organizing and storing data in a computer. Common data structures include arrays, linked lists, stacks, queues, trees, and graphs. Algorithms are sets of steps for solving problems.