Complex sentence: The bowler's intention is to both prevent the scoring of runs and to dismiss the batsman, at which point the dismissed batsman has to leave the field and another teammate replaces him at the crease.
Split into simpler sentences: The bowler's objectives are to prevent the scoring of runs and to dismiss the batsman. A dismissed batsman must leave the field, and a teammate replaces him at the crease.