The top three presidents also have the distinction of leading the nation during three of its most significant wars ; respectively , the American Civil War , American Revolutionary War , and Second World War .