Generally for most algs you can break the algs down into steps which each perform a specific task eg Start with one corner at LUF (corner A) and the other corner at FDR (corner B). Then do:
R'D - twists the B corner
L2 - swaps the B and A corners
D'R - twists the A corner on the way back.
On the other hand, some aldorithms can be explained in a more intuitive way and these are called commutators. They take the form ABA'B' where A' is the inverse of A. These only affect pieces which are at the intersection of A and B (or example, U2 R2 U2 R2 -U2 and R2 are self inverse- only affects the edges which are altered by both the R2 and the U2).
Many algorithms also contain conjugates which are of the form ABA' and this is often used in blindsolving (in old pochman and M2/R2 at least) where certain pieces are moved to be affected by another algorithm which usually does something else for example swapping 2 corners in OP.
Hope this helps!