What is the Meaning of Virtue?

In its most general sense, virtue is excellence or perfection. In religion (most notably the Catholic religion), virtue is a habit of the soul that disposes one to act rationally & morally. Virtue is the opposite of vice.