Let the four consecutive odd integers be represented as \( x, x+2, x+4, \) and \( x+6 \).
We know that the sum of these integers equals 40:
\[ x + (x + 2) + (x + 4) + (x + 6) = 40 \]
Simplifying the left side:
\[ 4x + 12 = 40 \]
Now, we will subtract 12 from both sides:
\[ 4x = 40 - 12 \] \[ 4x = 28 \]
Next, divide both sides by 4:
\[ x = 7 \]
Now that we have the value of \( x \), we can find the four consecutive odd integers:
- \( x = 7 \)
- \( x + 2 = 9 \)
- \( x + 4 = 11 \)
- \( x + 6 = 13 \)
Thus, the four consecutive odd integers are:
\[ 7, 9, 11, 13 \]
To confirm, we can check the sum:
\[ 7 + 9 + 11 + 13 = 40 \]
Therefore, the integers are \( \boxed{7, 9, 11, 13} \).