Answer
The number is $18$.
Work Step by Step
Let
$x$ = the unknown number
Then
"the product of 7 and a number" means $7(x)$.
Thus, the equation that represents the situation is:
$7(x)=126$
Divide 7 on both sides of the equation to obtain:
$x=\frac{126}{7}
\\x=18$