A topic sentence is a statement that tells what your paragraph will be about.
An example : you want to write a piece about the importance of eating breakfast in the morning.
The topic sentence would be :
Everybody should try to eat a nourishing breakfast in the morning, as it prepares the body to function properly during the day and gives it all the necessary nutrition.
An unrelated sentence would be :
Sit straight and always eat slowly.