While topical sermons are based on human problems and issues, expository sermons are based on Biblical texts.
The Sermon on the Mount is a very good example of an expository sermon. In his sermon, part of which is as follows, Christ lays down all Christian codes of practice.
On adultery:
You have heard that it was said to those of old,