The fans run to cool the CPU when you're working it hard (videos, games and the like). To check the temperature you need to use a 3rd part fan application there are several out there.
Some steps to try before replacing the logic board if you have a bad temperature sensor. Be sure to purchase the proper tools to open your laptop - every job is easier when you have the right tools.
If this answer was helpful please remember to mark it accepted.