The volume of nitrogen gas at STP (Standard Temperature and Pressure) is related to the number of moles of nitrogen using the molar volume of a gas at STP, which is \( 22.4 \, \text{L/mol} \).
Given:
- The volume of nitrogen gas is \( 22.4 \, \text{mL} = 0.0224 \, \text{L} \),
- The mass of the organic compound is \( 0.14 \, \text{g} \).
The number of moles of nitrogen gas can be calculated using the formula:
\[
\text{Moles of } N_2 = \frac{\text{Volume of nitrogen (L)}}{\text{Molar volume at STP (L/mol)}}
\]
\[
\text{Moles of } N_2 = \frac{0.0224}{22.4} = 0.001 \, \text{mol}
\]
Since the nitrogen in the compound is from a nitrogen-containing compound, the number of moles of nitrogen is the same as the number of moles of nitrogen in the organic compound.
Now, the mass of nitrogen in the compound is:
\[
\text{Mass of nitrogen} = \text{Moles of nitrogen} \times \text{Molar mass of nitrogen}
\]
\[
= 0.001 \times 14 = 0.014 \, \text{g}
\]
The percentage of nitrogen in the compound is calculated as:
\[
\text{Percentage of nitrogen} = \frac{\text{Mass of nitrogen}}{\text{Mass of compound}} \times 100
\]
\[
= \frac{0.014}{0.14} \times 100 = 10\%
\]
Thus, the percentage of nitrogen in the compound is 10%, which corresponds to option (D).