Complex sentence: The principal work (still surviving) is a massive red brick keep, in the style of a medieval castle, which served as gun tower and observation post.
Split into simpler sentences: The principal work (still surviving) is a massive red brick keep. The keep, looking like a medieval castle which served a dual role of gun tower and observation post.