What does Young's modulus measure in materials science?
A) The amount of heat a material can withstand before melting.
B) The ratio of the stress to the strain in a material, indicating its stiffness or rigidity.
C) The ability of a material to conduct electricity.
D) The rate at which a material absorbs moisture.