if (condition1) {
// Executes when condition1 is true
if (condition2) {
// Executes when condition2 is true
} }