Complex sentence: Sam is Dani's best friend and a science geek who spends most of her time at the village library.
Split into simpler sentences: Sam is Dani's best friend. Her interests are in science and she spends much of her time at the village library.