〜ことができる/可能形(〜られる)
Both forms mean 'can', but 〜ことができる sounds more formal and written, while the potential form is far more common in conversation. When a verb becomes potential, the object particle を usually changes to が. Note that 見える and 聞こえる describe something spontaneously visible or audible, whereas 見られる and 聞ける describe having the opportunity or ability to see or hear it.
私はピアノを弾くことができます。
I can play the piano.
漢字が少し読めるようになりました。
I have gradually become able to read a few kanji.
ここでは写真を撮ることができません。
You cannot take photographs here.