Variables are used to store information in programs and must have unique names. There are different data types that specify what type of value a variable can store, such as integer, float, double, character, and string. Variables are assigned values using the assignment operator (=), and variable names can be most anything but are typically descriptive. Comments are included in code to help explain it to other programmers.